# -*- encoding : utf-8 -*-
class Role < ActiveRecord::Base
  def self.getRoleName(id)
    role = Role.find(id)
    return role.role_name
  end
  
  has_many :users
  has_many :borrow_rules
end
